package com.boilermaker.lotterysystem.service.async;

import org.springframework.stereotype.Component;

import java.util.concurrent.CompletableFuture;

@Component
public interface AsyncTaskExecutorService {

    <T> CompletableFuture<Void> submitTask(String taskName, T dto);
}
